package com.qdu.service;

import java.math.BigInteger;
import java.util.List;
import java.util.Map;

import com.qdu.entity.Job;
import com.qdu.entity.Usert;
import com.qdu.entity.resumefile;

public interface UsertService {
	
	
	
	int ifHasemail(String uemail);
	
	void addUsert(Usert user);
	
	List<Map<String,Object>> queryJobByjobName(String jobname,String bname);
	
	List<Map<String,Object>> queryJobByMult(String bpro,String education,String time,String salary);
	
	int addResume(String uid, String jid, String url);
	
	BigInteger getProcess(String uid);

	
	void updateUsert(Usert user);
	
	void updateUpwd(Usert user);
	
	Usert login(String uid,String upwd);
	
	Usert findUserbyuid(String uid);
	
	Usert findUsertmibao(String uid);
	
	Usert findUsertPwdBymibao(String uid,String upasswordexpre,String upasswordanswer);
	

	//获取数据库中的职业关键字
	List<String> getInterestList();

	Usert findUsertPwdByEmail(String uemail);
	//检查注册中用户名是否重复
	boolean isuidExist(String uid);
	
	//管理员用于获得所有的用户列表
	List<Usert> getAll();
	
	//l-
	List<Map<String,Object>> getresumeByuid(String uid);

}


